<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::Mesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_mesh.html">Mesh</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_mesh-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::Mesh Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Abstract base class for defining basic mesh properties. The mesh is proposed for several functions. First, it is used in cell linked list for neighbor search. Second, it is used for background maps such as level sets. This class is the counterpart of the class particles.  
 <a href="class_s_p_h_1_1_mesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a>.</p>

<p>Inherited by <a class="el" href="class_s_p_h_1_1_base_mesh_cell_linked_list.html">SPH::BaseMeshCellLinkedList</a>, and <a class="el" href="class_s_p_h_1_1_base_mesh_with_data_packages.html">SPH::BaseMeshWithDataPackages</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5546f322670e4df7e79f2ea52367de23"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a5546f322670e4df7e79f2ea52367de23">Mesh</a> (Vecd lower_bound, Vecd upper_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size=0)</td></tr>
<tr class="separator:a5546f322670e4df7e79f2ea52367de23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0172f0d850492075075c6a56fa484567"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a0172f0d850492075075c6a56fa484567">Mesh</a> (Vecd mesh_lower_bound, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells, Real cell_spacing)</td></tr>
<tr class="separator:a0172f0d850492075075c6a56fa484567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3184da419f5fb791fd21ca8e24f82cf4"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a3184da419f5fb791fd21ca8e24f82cf4">CellSpacing</a> ()</td></tr>
<tr class="separator:a3184da419f5fb791fd21ca8e24f82cf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacda40c501e9d0545da816f918ef8f25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#aacda40c501e9d0545da816f918ef8f25">NumberOfCells</a> ()</td></tr>
<tr class="separator:aacda40c501e9d0545da816f918ef8f25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30aa391148361b419b89756906bd3d2e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a30aa391148361b419b89756906bd3d2e">MeshBufferSize</a> ()</td></tr>
<tr class="separator:a30aa391148361b419b89756906bd3d2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99391ca2e48886deb412a961b2484a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ae99391ca2e48886deb412a961b2484a7">isWithinMeshBound</a> (Vecd position)</td></tr>
<tr class="memdesc:ae99391ca2e48886deb412a961b2484a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function check whether a position well within in the mesh bounds.  <a href="#ae99391ca2e48886deb412a961b2484a7">More...</a><br /></td></tr>
<tr class="separator:ae99391ca2e48886deb412a961b2484a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ead23440b15961e2658156b2d4e7fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a04ead23440b15961e2658156b2d4e7fe">CellIndexesFromPosition</a> (Vecd &amp;position)</td></tr>
<tr class="separator:a04ead23440b15961e2658156b2d4e7fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a6464f11ceee9f24432033535e479af"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a5a6464f11ceee9f24432033535e479af">CellPositionFromIndexes</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> cell_indexes)</td></tr>
<tr class="separator:a5a6464f11ceee9f24432033535e479af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af24bc38b8a18b909328625eabb838fb6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#af24bc38b8a18b909328625eabb838fb6">writeMeshToVtuFile</a> (ofstream &amp;output_file)=0</td></tr>
<tr class="separator:af24bc38b8a18b909328625eabb838fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24e02673c59812a1bf3fd192f62f8f37"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a24e02673c59812a1bf3fd192f62f8f37">writeMeshToPltFile</a> (ofstream &amp;output_file)=0</td></tr>
<tr class="separator:a24e02673c59812a1bf3fd192f62f8f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:a24a968bc706af8c7fbdc427ca7ed156b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a24a968bc706af8c7fbdc427ca7ed156b">BaseMesh</a> ()</td></tr>
<tr class="separator:a24a968bc706af8c7fbdc427ca7ed156b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a06e00f3689429e2b174e3da6a7021900">BaseMesh</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="separator:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a00a3bee5412ec539c8cd068d504cd45b">MeshLowerBound</a> ()</td></tr>
<tr class="separator:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a075244782af1e6dccff264c569e29dab">GridSpacing</a> ()</td></tr>
<tr class="separator:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ad6f44b0d0886d0fd8cbbbded978fca8c">NumberOfGridPoints</a> ()</td></tr>
<tr class="separator:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a6366c75d5facfe485c6c0e3b78de3dd6">GridIndexFromPosition</a> (Vecd &amp;position)</td></tr>
<tr class="memdesc:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function find grid indexes from point position/.  <a href="class_s_p_h_1_1_base_mesh.html#a6366c75d5facfe485c6c0e3b78de3dd6">More...</a><br /></td></tr>
<tr class="separator:a6366c75d5facfe485c6c0e3b78de3dd6 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ad8ead27d4828a6cdc50e5cdd56b7ae86">GridPositionFromIndex</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="memdesc:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function find grid position from indexes.  <a href="class_s_p_h_1_1_base_mesh.html#ad8ead27d4828a6cdc50e5cdd56b7ae86">More...</a><br /></td></tr>
<tr class="separator:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a253edd98d4f9c0a0eb0727db8f86e2d7">transfer1DtoMeshIndex</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_size, <a class="el" href="classsize__t.html">size_t</a> i)</td></tr>
<tr class="memdesc:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function convert 1d vector index to mesh index.  <a href="class_s_p_h_1_1_base_mesh.html#a253edd98d4f9c0a0eb0727db8f86e2d7">More...</a><br /></td></tr>
<tr class="separator:a253edd98d4f9c0a0eb0727db8f86e2d7 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a504f79b1d618218ae8d48917739e1849">transferMeshIndexTo1D</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_size, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> mesh_index)</td></tr>
<tr class="memdesc:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function convert mesh index to 1d vector index.  <a href="class_s_p_h_1_1_base_mesh.html#a504f79b1d618218ae8d48917739e1849">More...</a><br /></td></tr>
<tr class="separator:a504f79b1d618218ae8d48917739e1849 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58efbb7a02aa9d7cb00b25a813246f22 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a58efbb7a02aa9d7cb00b25a813246f22">allocateMeshDataMatrix</a> ()=0</td></tr>
<tr class="separator:a58efbb7a02aa9d7cb00b25a813246f22 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1acc5827a77705943ed2e2357d77e7af inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a1acc5827a77705943ed2e2357d77e7af">deleteMeshDataMatrix</a> ()=0</td></tr>
<tr class="separator:a1acc5827a77705943ed2e2357d77e7af inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a988f01aaf45e7cd0e0cb6d7627540877"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a988f01aaf45e7cd0e0cb6d7627540877">setMeshLowerBound</a> (Vecd lower_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size)</td></tr>
<tr class="memdesc:a988f01aaf45e7cd0e0cb6d7627540877"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function set the mesh lower bound including the buffer region.  <a href="#a988f01aaf45e7cd0e0cb6d7627540877">More...</a><br /></td></tr>
<tr class="separator:a988f01aaf45e7cd0e0cb6d7627540877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada3c6fb4b8e30787b9dc2ea3384d0d71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ada3c6fb4b8e30787b9dc2ea3384d0d71">calcNumberOfCells</a> (Vecd lower_bound, Vecd upper_bound, Real grid_spacing, <a class="el" href="classsize__t.html">size_t</a> buffer_size)</td></tr>
<tr class="memdesc:ada3c6fb4b8e30787b9dc2ea3384d0d71"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute number of total cells.  <a href="#ada3c6fb4b8e30787b9dc2ea3384d0d71">More...</a><br /></td></tr>
<tr class="separator:ada3c6fb4b8e30787b9dc2ea3384d0d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae76f87848216771b3471ab055df2fd4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#ae76f87848216771b3471ab055df2fd4a">NumberOfGridPointsFromNumberOfCells</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_cells)</td></tr>
<tr class="memdesc:ae76f87848216771b3471ab055df2fd4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute number of total grid points form total cells.  <a href="#ae76f87848216771b3471ab055df2fd4a">More...</a><br /></td></tr>
<tr class="separator:ae76f87848216771b3471ab055df2fd4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bcc73c0057b2808792b303995ef27ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a4bcc73c0057b2808792b303995ef27ee">NumberOfCellsFromNumberOfGridPoints</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="memdesc:a4bcc73c0057b2808792b303995ef27ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function compute number of total cells form total grid points.  <a href="#a4bcc73c0057b2808792b303995ef27ee">More...</a><br /></td></tr>
<tr class="separator:a4bcc73c0057b2808792b303995ef27ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ee95055cea1e7ce73429cea1b4a1ccb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a1ee95055cea1e7ce73429cea1b4a1ccb">copyMeshProperties</a> (<a class="el" href="class_s_p_h_1_1_mesh.html">Mesh</a> *another_mesh)</td></tr>
<tr class="separator:a1ee95055cea1e7ce73429cea1b4a1ccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3082045653c5b076acf14ea23c862021"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a3082045653c5b076acf14ea23c862021">GridPositionFromCellPosition</a> (Vecd &amp;cell_position)</td></tr>
<tr class="memdesc:a3082045653c5b076acf14ea23c862021"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function shift position between cell and grid positions.  <a href="#a3082045653c5b076acf14ea23c862021">More...</a><br /></td></tr>
<tr class="separator:a3082045653c5b076acf14ea23c862021"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a0220a9cfe258f8fb9ccdee36ba27193a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a0220a9cfe258f8fb9ccdee36ba27193a">buffer_size_</a></td></tr>
<tr class="separator:a0220a9cfe258f8fb9ccdee36ba27193a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90b8a7819fe4eb22f4717dbf09c3b325"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a90b8a7819fe4eb22f4717dbf09c3b325">cell_spacing_</a></td></tr>
<tr class="separator:a90b8a7819fe4eb22f4717dbf09c3b325"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8996ae22420ea203e1206c2c7466d716"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_mesh.html#a8996ae22420ea203e1206c2c7466d716">number_of_cells_</a></td></tr>
<tr class="separator:a8996ae22420ea203e1206c2c7466d716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ac8559448b24066e06263bff0aa5ba75b">mesh_lower_bound_</a></td></tr>
<tr class="separator:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#af6c2e186b771c3573486cdcbaa362b25">grid_spacing_</a></td></tr>
<tr class="separator:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a5e1e27e30924c3390d8cdd20dba606fd">number_of_grid_points_</a></td></tr>
<tr class="separator:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Abstract base class for defining basic mesh properties. The mesh is proposed for several functions. First, it is used in cell linked list for neighbor search. Second, it is used for background maps such as level sets. This class is the counterpart of the class particles. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a5546f322670e4df7e79f2ea52367de23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5546f322670e4df7e79f2ea52367de23">&#9670;&nbsp;</a></span>Mesh() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPH::Mesh::Mesh </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>lower_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>upper_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>grid_spacing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>buffer_size</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor using domain information. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lower_bound</td><td>Lower bound. </td></tr>
    <tr><td class="paramname">upper_bound</td><td>Upper bound. </td></tr>
    <tr><td class="paramname">grid_spacing</td><td>Grid spacing. </td></tr>
    <tr><td class="paramname">buffer_size</td><td>Buffer size. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0172f0d850492075075c6a56fa484567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0172f0d850492075075c6a56fa484567">&#9670;&nbsp;</a></span>Mesh() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPH::Mesh::Mesh </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>mesh_lower_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>number_of_cells</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>cell_spacing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor using mesh information directly. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mesh_lower_bound</td><td><a class="el" href="class_s_p_h_1_1_mesh.html" title="Abstract base class for defining basic mesh properties. The mesh is proposed for several functions...">Mesh</a> lower bound. </td></tr>
    <tr><td class="paramname">number_of_cells</td><td><a class="el" href="class_s_p_h_1_1_mesh.html" title="Abstract base class for defining basic mesh properties. The mesh is proposed for several functions...">Mesh</a> upper bound. </td></tr>
    <tr><td class="paramname">cell_spacing</td><td><a class="el" href="class_s_p_h_1_1_mesh.html" title="Abstract base class for defining basic mesh properties. The mesh is proposed for several functions...">Mesh</a> cell spacing. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ada3c6fb4b8e30787b9dc2ea3384d0d71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada3c6fb4b8e30787b9dc2ea3384d0d71">&#9670;&nbsp;</a></span>calcNumberOfCells()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> SPH::Mesh::calcNumberOfCells </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>lower_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>upper_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>grid_spacing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>buffer_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function compute number of total cells. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lower_bound(Vecd)</td><td>Input mesh lower bound. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_spacing(Real)</td><td>Input grid spacing. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer_size(Real)</td><td>Buffersize to exted the mesh from physical domain of a body or something. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a04ead23440b15961e2658156b2d4e7fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04ead23440b15961e2658156b2d4e7fe">&#9670;&nbsp;</a></span>CellIndexesFromPosition()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> SPH::Mesh::CellIndexesFromPosition </td>
          <td>(</td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>find cell indexes from point position </p>

</div>
</div>
<a id="a5a6464f11ceee9f24432033535e479af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a6464f11ceee9f24432033535e479af">&#9670;&nbsp;</a></span>CellPositionFromIndexes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vecd SPH::Mesh::CellPositionFromIndexes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>cell_indexes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Find cell position from indexes. It is the position shift in the upper-right direction half grid size </p>

</div>
</div>
<a id="a3184da419f5fb791fd21ca8e24f82cf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3184da419f5fb791fd21ca8e24f82cf4">&#9670;&nbsp;</a></span>CellSpacing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::Mesh::CellSpacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the cell spacing. </p>

</div>
</div>
<a id="a1ee95055cea1e7ce73429cea1b4a1ccb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ee95055cea1e7ce73429cea1b4a1ccb">&#9670;&nbsp;</a></span>copyMeshProperties()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::Mesh::copyMeshProperties </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_mesh.html">Mesh</a> *&#160;</td>
          <td class="paramname"><em>another_mesh</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>copy mesh properties from another mesh. </p>

</div>
</div>
<a id="a3082045653c5b076acf14ea23c862021"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3082045653c5b076acf14ea23c862021">&#9670;&nbsp;</a></span>GridPositionFromCellPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vecd SPH::Mesh::GridPositionFromCellPosition </td>
          <td>(</td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>cell_position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function shift position between cell and grid positions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cell_position(Vecd)</td><td>Cell position. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">(Vecd)</td><td>shifted position. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae99391ca2e48886deb412a961b2484a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae99391ca2e48886deb412a961b2484a7">&#9670;&nbsp;</a></span>isWithinMeshBound()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::Mesh::isWithinMeshBound </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function check whether a position well within in the mesh bounds. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position(Vecd)</td><td>Input position. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a30aa391148361b419b89756906bd3d2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30aa391148361b419b89756906bd3d2e">&#9670;&nbsp;</a></span>MeshBufferSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> SPH::Mesh::MeshBufferSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Retrun the buffer size. </p>

</div>
</div>
<a id="aacda40c501e9d0545da816f918ef8f25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacda40c501e9d0545da816f918ef8f25">&#9670;&nbsp;</a></span>NumberOfCells()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> SPH::Mesh::NumberOfCells </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the number of cells. </p>

</div>
</div>
<a id="a4bcc73c0057b2808792b303995ef27ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bcc73c0057b2808792b303995ef27ee">&#9670;&nbsp;</a></span>NumberOfCellsFromNumberOfGridPoints()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> SPH::Mesh::NumberOfCellsFromNumberOfGridPoints </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>number_of_grid_points</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function compute number of total cells form total grid points. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">number_of_grid_points(Vecu)</td><td>Number of grid points in each direction. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">number</td><td>of total cells. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae76f87848216771b3471ab055df2fd4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae76f87848216771b3471ab055df2fd4a">&#9670;&nbsp;</a></span>NumberOfGridPointsFromNumberOfCells()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> SPH::Mesh::NumberOfGridPointsFromNumberOfCells </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td>
          <td class="paramname"><em>number_of_cells</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function compute number of total grid points form total cells. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">number_of_cells(Vecu)</td><td>Number of cell in each direction. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">(Vecu)</td><td>number of total grid points </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a988f01aaf45e7cd0e0cb6d7627540877"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a988f01aaf45e7cd0e0cb6d7627540877">&#9670;&nbsp;</a></span>setMeshLowerBound()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SPH::Mesh::setMeshLowerBound </td>
          <td>(</td>
          <td class="paramtype">Vecd&#160;</td>
          <td class="paramname"><em>lower_bound</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>grid_spacing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>buffer_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This function set the mesh lower bound including the buffer region. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lower_bound(Vecd)</td><td>Input mesh lower bound. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">grid_spacing(Real)</td><td>Input grid spacing. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer_size(Real)</td><td>Buffersize to extened the mesh from the physical bound of a body. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a24e02673c59812a1bf3fd192f62f8f37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24e02673c59812a1bf3fd192f62f8f37">&#9670;&nbsp;</a></span>writeMeshToPltFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SPH::Mesh::writeMeshToPltFile </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>output mesh data for Tecplot visualization </p>

<p>Implemented in <a class="el" href="class_s_p_h_1_1_level_set.html#af293fdfdbce44cb2671dbc34ea7d3a37">SPH::LevelSet</a>, and <a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a7f47ea7d9eca28aab283be623630e037">SPH::MeshCellLinkedList</a>.</p>

</div>
</div>
<a id="af24bc38b8a18b909328625eabb838fb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af24bc38b8a18b909328625eabb838fb6">&#9670;&nbsp;</a></span>writeMeshToVtuFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SPH::Mesh::writeMeshToVtuFile </td>
          <td>(</td>
          <td class="paramtype">ofstream &amp;&#160;</td>
          <td class="paramname"><em>output_file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>output mesh data for Paraview visualization </p>

<p>Implemented in <a class="el" href="class_s_p_h_1_1_level_set.html#afa294ed577a11ea5c3bb44e84854fcd0">SPH::LevelSet</a>, and <a class="el" href="class_s_p_h_1_1_mesh_cell_linked_list.html#a8527e1d71f0e085f0f7f5986ce10153c">SPH::MeshCellLinkedList</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a0220a9cfe258f8fb9ccdee36ba27193a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0220a9cfe258f8fb9ccdee36ba27193a">&#9670;&nbsp;</a></span>buffer_size_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsize__t.html">size_t</a> SPH::Mesh::buffer_size_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>buffer size to avoid bound check. buffer size to avoid bound check. </p>

</div>
</div>
<a id="a90b8a7819fe4eb22f4717dbf09c3b325"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90b8a7819fe4eb22f4717dbf09c3b325">&#9670;&nbsp;</a></span>cell_spacing_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Real SPH::Mesh::cell_spacing_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>cell_spacing </p>

</div>
</div>
<a id="a8996ae22420ea203e1206c2c7466d716"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8996ae22420ea203e1206c2c7466d716">&#9670;&nbsp;</a></span>number_of_cells_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> SPH::Mesh::number_of_cells_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>number of cells by dimension </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="base__mesh_8h_source.html">base_mesh.h</a></li>
<li>SPHINXsys/src/shared/meshes/<a class="el" href="base__mesh_8cpp.html">base_mesh.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
